var scrollToBottom = function () {
    $('html, body').animate({ scrollTop: $(document).height() }, 1000);
}

function equalHeight(group) {
    var tallest = 0;
    group.each(function () {

        var thisHeight = $(this).height();
        if (thisHeight > tallest) {
            tallest = thisHeight;
        }
    });
    group.height(tallest);
}

